Some Form Input Elements:

This is the form tag for this form:
<form action="http://www.vtmug.org/cgi-vtmug/getvars2" method="get">
HTML How it appears What is returned
to the server
<input type="text"> Standard input capable field - for use with character, numeric, or any data type.
<input type="text" name="textField1" value="Some text" /> textField1=Some text
<input type="radio"> Multiple varaibles with same name; only one value returned
Option 1: <input type="radio" name="theRadio" value="1">
Option 2: <input type="radio" name="theRadio" value="2" CHECKED>
Option 3: <input type="radio" name="theRadio" value="3">
Option 1:
Option 2:
Option 3:
theRadio=2
<input type="checkbox"> Multiple varaibles with same name; multiple values returned
Check all that apply:<br />
<input type="checkbox" name="os" value="unix" /> Unix
<input type="checkbox" name="os" value="windows" CHECKED /> Windows
<input type="checkbox" name="os" value="linux" /> Linux
<input type="checkbox" name="os" value="DOS" /> DOS
<input type="checkbox" name="os" value="os400" CHECKED /> OS/400
Check all that apply:
Unix
Windows
Linux
DOS
OS/400
os=windows&os=os400
<select> Select one value from a drop-down list
<select name="selectField1">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3" SELECTED>Option 3</option>
<option value="4">Option 4</option>
</select>
selectField1=3
<select multiple> Select multiple values from a drop-down list
<select name="selectField2" MULTIPLE size="4">
<option value="1" SELECTED>Option 1</option>
<option value="2">Option 2</option>
<option value="3" SELECTED>Option 3</option>
<option value="4">Option 4</option>
<option value="5">Option 5</option>
<option value="6">Option 6</option>
</select>
selectField2=1&selectField2=3
<input type="hidden"> Useful for maintaining a session
<input type="hidden" name="sessionID" value="123456"/>  sessionID=123456
<input type="submit"> Displays a button; when clicked, form is submitted to server. (i.e. all input values are sent to the URL on the <form> tag
<input type="submit" name="submitButton" value="Submit form"/> submitButton=Submit form
<textarea> Multi-line text field
<textarea rows="4" cols="25" name="textArea">
This is some text
</textarea>
textArea=This is some text